﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Lilium.UI.Controls;

namespace Lilium.UI.Forms
{
    public class ControlAdapter<TControl> 
        where TControl : System.Windows.Forms.Control
    {
        public ControlAdapter(TControl control)
        {
            if (control == null) throw new ArgumentNullException("control");

             m_Control = control;
        }

        #region protected TControl Control

        private readonly TControl m_Control;

        protected TControl Control { get { return m_Control; } }

        #endregion
    }
}